cmake_minimum_required(VERSION 4.0)
project(StarcoreProject)
set(CMAKE_CXX_STANDARD 20)

file(GLOB_RECURSE SRC_FILES
        ${PROJECT_SOURCE_DIR}/main.cpp
        ${PROJECT_SOURCE_DIR}/src/*.cpp
)

add_executable(${PROJECT_NAME} ${SRC_FILES})

include_directories(
        ${PROJECT_SOURCE_DIR}/include
        ${PROJECT_SOURCE_DIR}/third_party
        ${PROJECT_SOURCE_DIR}/third_party/EasyX/include
)


target_link_directories(${PROJECT_NAME} PRIVATE
        ${PROJECT_SOURCE_DIR}/third_party/EasyX/lib64
)
target_link_libraries(${PROJECT_NAME} PRIVATE
        libeasyx.a
        gdi32
        user32
        msimg32
)